home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / UNSPLIT / text0434.txt < prev    next >
Encoding:
Text File  |  1997-02-06  |  1.5 KB  |  42 lines

  1. Hi everyone, hi Anthony.
  2.  
  3.  
  4. I've found why my collide tests were sometimes strange.
  5. In order not to let the player go too close to walls,
  6. I precalculate a new list of vertices, that make the
  7. collide walls be 24 units on their right.
  8. (this value will be discussed in a few lines).
  9. But I forgot one thing: vertices are shares between
  10. lines. And common vertices are at the right place for
  11. only one line: the last that use this vertex :o .
  12.  
  13. I'll change that this evenning if I have time.
  14.  
  15. About these 24 units, I choose this because it's
  16. half the size of the player. It must be different
  17. for other things. For example, for a f*cking big
  18. baron throwing rockets, it should be 128/2=64 units
  19. (if I can remember the specs).
  20. I won't be able to use a precalculated array.
  21.  
  22. Anthony, I'm very sorry for the time you send looking
  23. in your WAD file. :-((((( It was MY bugged code, not YOURS.
  24.  
  25. Bad Mood don't care of the WAD file if it can find everything
  26. it needs. I didn't change the loading code, just added my code.
  27.  
  28.  
  29. Read you next.
  30. Fabrice.
  31.  
  32. ################################################################
  33. #       _______  _______        |     Fabrice GIRARDOT     |   #
  34. #      / / /--('')--\ \ \       | C,ASM   MC680x0,DSP56001 |   #
  35. #     / / /  / \/ \  \ \ \      |   Real-time processing   |   #
  36. #    /////   \____/   \\\\\                                    #
  37. #            /    \            mailto:Fabrice.Girardot@imag.fr #
  38. #F030!     /T\    /T\       http://www-cami.imag.fr/~girardot/ #
  39. ################################################################
  40. Trust no one.
  41.  
  42.